<template>
  <div class="homepage-hero-module">
    <div class="video-container">
      <div :style="fixStyle" class="filter" >
        <slot>

        </slot>
      </div>
      <div style="width: 100%;height: 100%;">
        <img style="height: 100%;width: 100%" :src="imgUrl"/>
      </div>
    </div>
  </div>
</template>

<script setup>
import imgUrl from"../assets/img.png"
</script>

<style scoped>
.homepage-hero-module,
.video-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-container .poster img{
  z-index: 0;
  position: absolute;
}

.video-container .filter {
  z-index: 1;
  position: absolute;
  /*background: rgba(0, 0, 0, 1 );*/
  text-align: center;
  width: 100%;
}

.fillWidth {
  width: 200%;
}
</style>
